<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<bean:message key="base"/>">
		<title><bean:message key="title" /></title>
		<meta http-equiv="content-type"	content="text/html; charset=<bean:message key="charset"/>">
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	font-size: 12px;
	color: #FFFFFF;
}
.STYLE2 {font-size: 9px}
.STYLE3 {
	color: #033d61;
	font-size: 12px;
}
#loading-mask {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 20000;
	background-color: white;
}

#loading {
	position: absolute;
	left: 43%;
	padding: 2px;
	z-index: 20001;
	height: auto;
}

#loading .loading-indicator {
	background: white;
	color: #444;
	font: bold 14px tahoma, arial, helvetica;
	padding: 10px;
	margin: 0;
	height: auto;
}

#loading-msg {
	font: normal 14px arial, tahoma, sans-serif;
}
-->
</style>
<script language="JavaScript">
<!--
var timerID = null;
var timerRunning = false;

function stopclock (){
        if(timerRunning)
                clearTimeout(timerID);
        timerRunning = false;
}
function showtime () {
        var now = new Date();
        var hours = now.getHours();
        var minutes = now.getMinutes();
        var seconds = now.getSeconds();
        var timeValue = "" + ((hours >12) ? hours -12 :hours);
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
        timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
        timeValue += (hours >= 12) ? " PM" : " AM";
        document.getElementById("tt").innerText=timeValue;
        timerID = setTimeout("showtime()",1000);
        timerRunning = true;
}
function startclock () {
        stopclock();
        showtime();
}
function logout(){
	var homeFrame;
    if (document.all){//IE
    	  homeFrame = parent; 
    	  homeFrame.document.write("<center><img src=\"<bean:message key="base"/>resources/images/loadding.gif\" /></center>");
    	  homeFrame.document.write("<script>location='<bean:message key="base"/>admin.do?method=logout';</script>");
    	  homeFrame.document.close();
    }else{//Firefox    
    	  homeFrame = parent.document;
    	  homeFrame.write("<center><img src=\"<bean:message key="base"/>resources/images/loadding.gif\" /></center>");
    	  homeFrame.close();
    	  homeFrame.location='<bean:message key="base"/>admin.do?method=logout';
	}
    
}
//-->
</script>
	</head>

	<body onload="startclock();" onkeydown="if(event.keyCode==27) return false;">
	<jsp:include page="../inc/header.jsp"></jsp:include>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="70" background="resources/images/index/main_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="270" height="24" background="resources/images/index/main_03.gif">&nbsp;</td>
            <td width="505" background="resources/images/index/main_04.gif">&nbsp;</td>
            <td>&nbsp;</td>
            <td width="21"><img src="resources/images/index/main_07.gif" width="21" height="24"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="38"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="270" height="38" background="resources/images/index/main_09.gif">&nbsp;</td>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="77%" height="25" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="50" height="19"><div align="center"><a href="javascript:parent.location='<bean:message key="base"/>admin/index/index.jsp';"><img border="0" src="resources/images/index/main_12.gif" width="49" height="19"></a></div></td>
                    <td width="50"><div align="center"><a href="javascript:history.go(-1);"><img border="0" src="resources/images/index/main_14.gif" width="48" height="19"></a></div></td>
                    <td width="50"><div align="center"><a href="javascript:history.go(1);"><img border="0" src="resources/images/index/main_16.gif" width="48" height="19"></a></div></td>
                    <td width="50"><div align="center"><a href="javascript:if(window.confirm('确认退出吗?')){logout();}"><img border="0" src="resources/images/index/main_20.gif" width="48" height="19"></a></div></td>
                    <td width="50"><div align="center"><img src="resources/images/index/main_21.gif" width="26" height="19"></div></td>
                    <td width="26"><div align="center"></div></td>
                    <td width="100"><div align="center"></div></td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
                <td width="220" valign="bottom"  nowrap="nowrap"><div align="right"><span class="STYLE1"><span class="STYLE2">■</span> 今天是：<script language=JavaScript> var version = 1.0;</script>
                  <script language=JavaScript1.1> var version = 1.1;</script>
                  <script language=JavaScript1.2> var version = 1.2;</script>
                  <script language=JavaScript1.3> var version = 1.3;</script>
<script language="JavaScript">
<!--
	var y=new Date();  
	var gy=y.getYear();  
	var dName=new Array(" 星期天"," 星期一"," 星期二"," 星期三"," 星期四"," 星期五"," 星期六");  
	var mName=new Array(" 1 月 "," 2 月 "," 3 月 "," 4 月 "," 5 月 "," 6 月 "," 7 月 "," 8 月 "," 9 月 "," 10 月 "," 11 月 "," 12 月 ");  
	if (version < 1.3)  
	{  
	if (gy<2000)  
	{  
	document.write("<FONT class=\"E1\">"+"19"+y.getYear()+" 年" + mName[y.getMonth()] + y.getDate() + " 日" + dName[y.getDay()] + "");  
	}  
	else  
	document.write("<FONT class=\"E1\">"+y.getYear()+" 年" + mName[y.getMonth()] + y.getDate() + " 日" + dName[y.getDay()] + "");  
	}  
	else  
	{  
	document.write("<FONT class=\"E1\">"+y.getFullYear() +" 年"+ mName[y.getMonth()] + y.getDate() + " 日" + dName[y.getDay()]);  
}  
//-->
</script><span id="tt"></span>
<script>
	document.write("</FONT>");
</script></span></div></td>
              </tr>
            </table></td>
            <td width="21"><img src="resources/images/index/main_11.gif" width="21" height="38"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="8" style=" line-height:8px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="270" background="resources/images/index/main_29.gif" style=" line-height:8px;">&nbsp;</td>
            <td width="505" background="resources/images/index/main_30.gif" style=" line-height:8px;">&nbsp;</td>
            <td style=" line-height:8px;">&nbsp;</td>
            <td width="21" style=" line-height:8px;"><img src="resources/images/index/main_31.gif" width="21" height="8"></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="28" background="resources/images/index/main_36.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="177" height="28" background="resources/images/index/main_32.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="20%"  height="22">&nbsp;</td>
            <td width="59%" valign="bottom"><div align="center" class="STYLE1">当前用户：${admin.loginName }</div></td>
            <td width="21%">&nbsp;</td>
          </tr>
        </table></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="65" height="28"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="23" valign="bottom"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr> 
                  </tr>
                </table></td>
              </tr>
            </table></td>
            
            <td width="63" height="28"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="23" valign="bottom"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr> 
                  </tr>
                </table></td>
              </tr>
            </table></td>
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
            
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
            
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
            
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
            
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
            
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
             
            <td width="63"><table width="58" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
              </tr>
            </table></td>
            <td>&nbsp;</td>
          </tr>
        </table></td>
        <td width="21"><img src="resources/images/index/main_37.gif" width="21" height="28"></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<jsp:include page="../inc/footer.jsp"></jsp:include>